home *** CD-ROM | disk | FTP | other *** search
- Another one of Airflight's Cheap Mods
- Airflight #44 @7495
- Mon Dec 16 20:02:30 1991
- 1[2REPLY1]2: 3Not Necessary.3
-
-
- ╓──────────────────────────────────────────────────────────────────────────────╖
- ║ Name: AIF02.MOD Released: 12/16/91 ║
- ║ Versions: Tested on 4.20 -- Should work on 4.xx though. ║
- ║ Difficulty: ██░░░ ║
- ║ ║
- ║ Description: This little additive will alow you and your users edit their ║
- ║ macros when they are entering a message. All they have to do is type: ║
- ║ /MACROS -- Of course, you can shorten this by putting in /M or something like║
- ║ that just as easy. ║
- ╙──────────────────────────────────────────────────────────────────────────────╜
-
- Ok, this mod is sooooooooooooooooooooo simple. I would hardly call it
- something worth putting out because of the degree of difficulty involved,but
- I decided to put it out because it is quite useful. I should have put it in
- my system ages ago. Anyways, when your users type '/MACROS', in the message
- editor, it will allow them to edit their macros. For instance, if they want
- to annoy someone by just putting one line in a zillion times, or just change
- they're macro because they don't like the one they have. It will save them a
- trip that they won't have to make. Anyways, here it is. Pretty simple.
-
- Step 1: BACKUP your source code. I am sure you know how to do it, but if
- you don't, go in your source dir and type:
- pkzip backup *.c *.h *.obj <Enter>.
-
- Step 2: This part is just a tad bit harder. Fire up either turbo c or your
- fav. text editor. <I know it's hard, but try> =)
-
- Step 3: Load MSGBASE.C and go in void inmsg(..Blah). Then search for
- "/TI" <with or without the quotes, either way you'll get it>
- and right above it, add the following code:
-
- if (stricmp(s,"/RL")==0) { /* EXISTING */
- savel=0; /* EXISTING */
- if (curli) { /* EXISTING */
- --curli; /* EXISTING */
- pl("Replace:"); /* EXISTING */
- } else { /* EXISTING */
- pl("Nothing to replace."); /* EXISTING */
- } /* EXISTING */
- } /* EXISTING */
- if (stricmp(s,"/MACROS")==0) { /*ADD -- SEE NOTE*/
- nl(); /* ADD */
- prt(2,"You may now edit your macros...\r\n"); /* ADD */
- nl(); /* ADD */
- make_macros(); /* ADD */
- nl(); /* ADD */
- nl(); /* ADD */
- prt(3,"Continue with your message!"); /* ADD */
- nl(); /* ADD */
- } /* ADD */
- if (stricmp(s,"/TI")==0) { /* EXISTING */
- savel=0; /* EXISTING */
- helpl=26; /* EXISTING */
-
- Step 4: Save & Compile!
-
- Disclaimer: I, Josh Deeden, take NO responsibility for the actions of this
- MOD. You took FULL responsibility when you decided to put it in. I will
- be more then happy to help you out if you have any problems with this mod.
- Just remember, I am NOT responsible for this little creature!
-
- /\irflight's /\bode
- Sysops: /\irflight & Co.
- 714 247 2542
- Located in Moreno Valley, CA
- WWIVlink @17474
- Running WWIV 4.20 /\ Modded
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-